import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SMyKillEvilGetInfo
    
    export  class SMyKillEvilGetInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SMyKillEvilGetInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.getHuman);
            arg1.writeInt(this.getEarth);
            arg1.writeInt(this.getHeaven);
            arg1.writeInt(this.getGod);
            arg1.writeInt(this.canGetCount);
            arg1.writeInt(this.executeKillEvilType);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.getHuman = arg1.readInt();
            this.getEarth = arg1.readInt();
            this.getHeaven = arg1.readInt();
            this.getGod = arg1.readInt();
            this.canGetCount = arg1.readInt();
            this.executeKillEvilType = arg1.readInt();
            return;
        }

        public /* const */_type: int=12101;

        public /* var */getHuman: int;

        public /* var */getEarth: int;

        public /* var */getHeaven: int;

        public /* var */getGod: int;

        public /* var */canGetCount: int;

        public /* var */executeKillEvilType: int;

        public static /* var */_regist: SMyKillEvilGetInfo;
    }

            SMyKillEvilGetInfo._regist = new SMyKillEvilGetInfo(true);
        